#ifndef ENEMY_3_H
#define ENEMY_3_H

#include <QtGui>
#include "collisia_control.h"
#include "cash.h"

class ENEMY_3 : public QGraphicsObject
{

    Q_OBJECT

    QPainterPath *border;
    QPixmap *im;

    QGraphicsItemAnimation *anim_enemy;
    QTimeLine *enemy_time_line;

    QPoint respaun_point_1;

    bool go_to_left;

    QPoint stvol;

    COLLISIA_CONTROL *collisia_control;

    int point;

    SOUND_POWER *go;

public:

    explicit ENEMY_3(SCENE *scene, QTimeLine *global_tl, CASH *cash);

    QPainterPath shape() const;

    QRectF boundingRect() const;

    void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *);

    ~ENEMY_3();

    int type() const;
    
signals:

    void Fire(QPoint oba);
    void Kill_My_Laser();
    
public slots:

    void Waiting_To_Fire(qreal r);
    void Emit_Kill_My_Laser();
    
};

#endif // ENEMY_3_H
